//
//  PhotoModel.h
//  WOFishingBoat
//
//  Created by 郑逸凯 on 2019/1/7.
//  Copyright © 2019年 郑逸凯. All rights reserved.
//

#import "BaseModel.h"
#import "MWPhoto.h"

NS_ASSUME_NONNULL_BEGIN

@interface PhotoModel : BaseModel



@property (nonatomic, copy) NSString *boatID;
@property (nonatomic, copy) NSString *snapShot;
@property (nonatomic, copy) NSString *kind;
@property (nonatomic,strong) NSDate *time;
@property (nonatomic,copy) NSString *displayName;
@property (nonatomic,copy) NSString *videoSrc;
@property (nonatomic,copy)NSString *duration;
//自定义字段

@property (nonatomic) BOOL isVideo;

@property (nonatomic) BOOL isSelected;
/**
 用于标记是否准备删除，删除成功后，将有标记的移除
 */
@property (nonatomic) BOOL isReadyToDelete;
/**
 yyyy-MM-dd 如2019-01-01
 */
@property (nonatomic,copy) NSString *sectionTime;
/**
 展示缩略图的photoModel
 */
@property (nonatomic,strong)MWPhoto *mwPhoto;
/**
 展示大图，或者视频的photomodel
 */
@property (nonatomic,strong)MWPhoto *mwBigPhoto;

+ (NSString *)originalPathWiththumbnailPath:(NSString *)thumbnailPath;
- (NSString *)imageName;

@end

NS_ASSUME_NONNULL_END
